package ynu.edu.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 订单明细实体类，对应orderdetailet表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 订单明细编号
     */
    private Integer odId;
    
    /**
     * 所属订单编号
     */
    private Integer orderId;
    
    /**
     * 食品编号
     */
    private Integer foodId;
    
    /**
     * 数量
     */
    private Integer quantity;
} 